www.gusucode.com > tpframe PHP开发框架 v2.2PHP源码程序 > tpframe PHP开发框架 v2.2/tpframe_v2.2.0618/tpframe_v2.2.0618/data/runtime/temp/aa993a2a9288080e9456bfff99c9d067.php
<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:33:"addon/blog/view/index\detail.html";i:1529315048;s:53:"E:\PHP_demo\git.tpframe.com\addon\blog\view\base.html";i:1528769220;s:55:"E:\PHP_demo\git.tpframe.com\addon\blog\view\header.html";i:1529149722;s:56:"E:\PHP_demo\git.tpframe.com\addon\blog\view\leftnav.html";i:1529313301;s:55:"E:\PHP_demo\git.tpframe.com\addon\blog\view\footer.html";i:1528794512;}*/ ?> <?php use tpfcore\Core; use tpfcore\helpers\StringHelper; ?> <!DOCTYPE html> <html> <head> <!--[if IE 6]><html class="ie lt-ie8"><![endif]--> <!--[if IE 7]><html class="ie lt-ie8"><![endif]--> <!--[if IE 8]><html class="ie ie8"><![endif]--> <!--[if IE 9]><html class="ie ie9"><![endif]--> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>yaosean 个人网站 | IT、web、mobile、编程开发技术博客!</title> <meta name="description" content=""> <meta name="keywords" content=""> <!--[if lte IE 8]><script src="https://cdn.bootcss.com/html5shiv/r29/html5.js"></script><![endif]--> <link rel="stylesheet" href="<?php echo $static_path; ?>/css/style.css" type="text/css" media="screen, projection"> <!-- Le HTML5 shim, for IE6-8 support of HTML elements --> <!--[if IE 8]><link href="<?php echo $static_path; ?>/css/for_ie-79d1b60ced4f878cbdc0939de55c3be1.css" media="all" rel="stylesheet" /><![endif]--> <!--[if lt IE 9]><link href="<?php echo $static_path; ?>/css/for_ie-79d1b60ced4f878cbdc0939de55c3be1.css" media="all" rel="stylesheet" /><![endif]--> <!--[if lte IE 8]><script>window.location.href='http://www.mywpku.com/upgrade-your-browser.html?referrer='+location.href;</script><![endif]--> </head> <body class="output fluid zh cn win" data-js-module="recommendation" data-locale="zh-CN"> <div class="navbar navbar-jianshu expanded"> <div class="dropdown"> <p style="text-align:center;margin-top:10px;padding-bottom:10px;"> <img src="<?php echo $static_path; ?>/images/header.png"/> </p> <ul id="nav" class="menu"> <li id="menu-item-1129" class="menu-item menu-item-type- menu-item-object- menu-item-1129"><a><i class="icon-home" onclick="location.href='<?php echo url('blog/index/index'); ?>'"></i></a></li> <li id="menu-item-1170" class="menu-item menu-item-type- menu-item-object- menu-item-has-children menu-item-1170"><a><i class="icon-th category_menu"></i></a> <ul class="sub-menu"> <?php $_result=Core::loadAction("Category/getCategory",["data"=>["where"=>["display"=>1],"order"=>"sort asc"]],"blog","logic");if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <li id="menu-item-1334" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-1334"><a href="<?php echo url('blog/index/index',['cid'=>$vo['id']]); ?>"><?php echo $vo['title']; ?></a> <?php if(!(empty($vo['children']) || (($vo['children'] instanceof \think\Collection || $vo['children'] instanceof \think\Paginator ) && $vo['children']->isEmpty()))): ?> <ul class="sub-menu"> <?php if(is_array($vo['children']) || $vo['children'] instanceof \think\Collection || $vo['children'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['children'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$child): $mod = ($i % 2 );++$i;?> <li id="menu-item-1335" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1335"><a href="<?php echo url('blog/index/index',['cid'=>$child['id']]); ?>"><?php echo $child['title']; ?></a></li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> <?php endif; ?> </li> <?php endforeach; endif; else: echo "" ;endif; ?> </ul> </li> </ul> </div> </div> <div class="container"> <div class="article"> <h1 class="single-title" itemprop="name"><?php echo $list[0]->title; ?></h1> <div class="article-info"> <span>发表于 <i class="icon-book"></i><a href="<?php echo url('blog/index/index',['cid'=>$list[0]->cateid]); ?>" rel="category tag"><?php echo $list[0]->ctitle; ?></a></span> <span><?php echo date('Y-m-d H:i:s',$list[0]->updatetime); ?></span> <span>阅读量: <?php echo $list[0]->view; ?></span> </div> <section class="entry clearfix"> <?php echo $list[0]->content; ?> </section> <div class="post-like"> <a href="javascript:;" data-id="<?php echo $list[0]->id; ?>" class="favorite <?php if($has_favorite == '1 '): ?>done<?php endif; ?>"><i class="icon-heart"></i> 喜欢 <span class="count"><?php echo $list[0]->likes; ?></span> </a> </div> <div class="single-footer"> <span class="single-category"><i class="icon-tag"></i>分类:<a href="<?php echo url('blog/index/index',['cid'=>$list[0]->cateid]); ?>" rel="category tag"><?php echo $list[0]->ctitle; ?></a></span> <br> <!-- <span class="single-tag"><i class="icon-pencil"></i>标签:</span> --> <br> <div class="prev-next"> <?php if(empty($listPre) || (($listPre instanceof \think\Collection || $listPre instanceof \think\Paginator ) && $listPre->isEmpty())): ?> <a href="javascript:;" class="before"><i class="icon-arrow-left"></i>没有上一篇</a> <?php else: ?> <a href="<?php echo url('blog/index/index',['id'=>$listPre[0]->id]); ?>" class="before" title="<?php echo $listPre[0]->title; ?>"><i class="icon-arrow-left"></i>上一篇</a> <?php endif; if(empty($listNext) || (($listNext instanceof \think\Collection || $listNext instanceof \think\Paginator ) && $listNext->isEmpty())): ?> <a href="javascript:;" class="after">没有下一篇<i class="icon-arrow-right"></i></a> <?php else: ?> <a href="<?php echo url('blog/index/index',['id'=>$listNext[0]->id]); ?>" class="after" title="<?php echo $listNext[0]->title; ?>">下一篇<i class="icon-arrow-right"></i></a> <?php endif; ?> </div> </div> </div> <div id="comments"> <h1 class="comment-title">这篇文章有<?php echo Core::loadAction("BlogComments/getCountComments",['where'=>["posts_id"=>$list[0]->id,"pid"=>0,"ischeck"=>1]],"blog","logic"); ?>条评论 </h1> <div class="com-1"> <ol class="commentlist"> <?php echo $comments; ?> </ol> <div class="mark-comment"></div> <nav class="commentnav"></nav> </div> <div id="respond"> <h2> 发表评论<small><a rel="nofollow" id="cancel-comment-reply-link" href="/index.php/1364.html#respond" style="display:none;">点击取消回复</a></small> </h2> <form action="" method="post" id="commentform"> <div> <div id="comment-author-info"> <p> <label>昵称:</label> <input type="text" name="author" id="author" class="commenttext" value="<?php echo (isset($tpf_blog_author[0]) && ($tpf_blog_author[0] !== '')?$tpf_blog_author[0]:''); ?>" size="22" tabindex="1" required=""> </p> <p> <label>邮箱:</label> <input type="email" name="email" id="email" class="commenttext" value="<?php echo (isset($tpf_blog_author[1]) && ($tpf_blog_author[1] !== '')?$tpf_blog_author[1]:''); ?>" size="22" tabindex="2" required=""> </p> <p> <label>网址:</label> <input type="text" name="url" id="url" class="commenttext" value="<?php echo (isset($tpf_blog_author[2]) && ($tpf_blog_author[2] !== '')?$tpf_blog_author[2]:''); ?>" size="22" tabindex="3"> </p> </div> <div id="loading" style="display: none;"> 正在提交呢,请耐心...</div> <div id="error" style="display: none;">#</div> <textarea name="comment" id="comment" tabindex="4" cols="50" rows="8" placeholder="既然路过就来说一句吧" onkeydown="if(event.ctrlKey&&event.keyCode==13) {document.getElementById('submit').click();return false};"></textarea> <input class="submit" name="submit" type="submit" id="submit" tabindex="5" value="提交评论(Ctrl+Enter)"> <input type="hidden" name="posts_id" value="<?php echo $list[0]->id; ?>" id="comment_post_ID"> <input type="hidden" name="pid" id="comment_parent" value="0"> </div> </form> <div class="clear"></div> </div> </div> </div> <a class="go-top" style="bottom: 110px;"><i class="icon-circle-arrow-up"></i></a> <footer> <div class="copyright"> ©2013-2018 <a href="/" target="_blank"><?php echo Core::loadAction("Setting/getSetting",['column'=>"site_name"],"blog","logic"); ?></a> <a style="height:20px;line-height:20px;" href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofollow"> <p style="float:left;height:20px;line-height:20px;color:#939393;"><?php echo Core::loadAction("Setting/getSetting",['column'=>"site_icp"],"blog","logic"); ?></p> </a> </div> <div class="contact"> <?php $_result=Core::loadAction("FriendLink/getFriendLink",["data"=>["where"=>["status"=>1],"order"=>"sort asc"]],"blog","logic");if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?> <a href="<?php echo $vo['url']; ?>" target="<?php echo $vo['target']; ?>"><?php echo $vo['name']; ?></a> <?php endforeach; endif; else: echo "" ;endif; ?> </div> </footer> <script src="<?php echo $static_path; ?>/js/jquery-1.10.2.min.js"></script> <script> var week = new Date().getDay(); $('.cover-img').css("background-image", "url(<?php echo $static_path; ?>/images/0.jpg)"); </script> <script src="<?php echo $static_path; ?>/js/comments-ajax.js"></script> <script src="<?php echo $static_path; ?>/js/full.js"></script> </body> </html>